package com.langsin.annotation;

public class Test
{
	public static void main(String[] args)
	{
		Class<Parent> c = Parent.class;
		
		if(c.isAnnotationPresent(InheritedTest.class))
		{
			InheritedTest inheritedTest = c.getAnnotation(InheritedTest.class);
			
			String value = inheritedTest.value();
			System.out.println(value);
		}
	}
}
